// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   CleanUpThread.java

package com.vandagroup.common.util;


// Referenced classes of package com.vandagroup.common.util:
//            ObjectPool

class CleanUpThread extends Thread
{

    private ObjectPool pool;
    private long sleepTime;

    CleanUpThread(ObjectPool pool, long sleepTime)
    {
        this.pool = pool;
        this.sleepTime = sleepTime;
    }

    public void run()
    {
        do
        {
            try
            {
                Thread.sleep(sleepTime);
            }
            catch(InterruptedException interruptedexception) { }
            pool.cleanUp();
        } while(true);
    }
}
